package com.nuoniu.sibanyun.entity.finance;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 资产负债公式表
 * </p>
 *
 * @author 小啊刚
 * @since 2021-05-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("far_report_formula")
@ApiModel(value="VAssetsLiabilitiesFormula对象", description="资产负债公式表")
public class VAssetsLiabilitiesFormula extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资产负债id")
    @TableField("al_id")
    private Integer alId;

    @ApiModelProperty(value = "类型1:资产 2:利润")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "科目id")
    @TableField("accounting_id")
    private Integer accountingId;

    @ApiModelProperty(value = "科目名称")
    @TableField("accounting_name")
    private String accountingName;

    @ApiModelProperty(value = "运行类型1:加 2:减")
    @TableField("operator")
    private Integer operator;

    @ApiModelProperty(value = "取数规则1:余额2:本级借方余额3:本级贷方余额4:末级借方余额5:末级贷方余额")
    @TableField("access_rule")
    private Integer accessRule;

    @ApiModelProperty(value = "年度的值")
    @TableField("value_year")
    private BigDecimal valueYear;

    @ApiModelProperty(value = "一月的值")
    @TableField("value_january")
    private BigDecimal valueJanuary;

    @ApiModelProperty(value = "二月的值")
    @TableField("value_february")
    private BigDecimal valueFebruary;

    @ApiModelProperty(value = "三月的值")
    @TableField("value_march")
    private BigDecimal valueMarch;

    @ApiModelProperty(value = "四月的值")
    @TableField("value_april")
    private BigDecimal valueApril;

    @ApiModelProperty(value = "五月的值")
    @TableField("value_may")
    private BigDecimal valueMay;

    @ApiModelProperty(value = "六月的值")
    @TableField("value_june")
    private BigDecimal valueJune;

    @ApiModelProperty(value = "七月的值")
    @TableField("value_july")
    private BigDecimal valueJuly;

    @ApiModelProperty(value = "八月的值")
    @TableField("value_august")
    private BigDecimal valueAugust;

    @ApiModelProperty(value = "九月的值")
    @TableField("value_september")
    private BigDecimal valueSeptember;

    @ApiModelProperty(value = "十月的值")
    @TableField("value_october")
    private BigDecimal valueOctober;

    @ApiModelProperty(value = "十一月的值")
    @TableField("value_november")
    private BigDecimal valueNovember;

    @ApiModelProperty(value = "十二月的值")
    @TableField("value_december")
    private BigDecimal valueDecember;


}
